Decouple images from the database schema by storing external file paths to improve query performance and simplify backups for physics exam files.